create a TreePrinter using the source code
A function that gets the information about a node
A function that is called after all the children nodes are visited
the information about the tree as a string
A function that is called before the children of a node are visited If this function returns false the visiting will of the children will be skipped.
A function that is called after all the children nodes are visited
visit all the nodes and get information about each